package com.uni.exp6.service;

import com.uni.exp6.dao.BillMapper;
import com.uni.exp6.pojo.Bill;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BillServiceImpl implements BillService {

    @Autowired
    private BillMapper billMapper;
    @Override
    public List<Bill> queryBillByNameAndIdAndIsPay(Bill bill) {
        return billMapper.queryBillByNameAndIdAndIsPay(bill);
    }
}
